package week_04.insert_odd;

import week_04.SingleList;

public class insertOddBefore {
    public static void main(String[] args) throws Exception{
        SingleList<Integer> s1=new SingleList<>();
        s1.insert(1);
        s1.insert(3);
        s1.insert(4);
        s1.insert(5);
        s1.insert(6);
        s1.insert(9);
        s1.insertOddBefore();
        for (int i=0;i<s1.length();i++){
            System.out.println(s1.get(i));
        }
    }
}
